<!DOCTYPE html>
<html>
<head>
    <title>我的二维码</title>
    <meta name="name" content="content,scale=1.0">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta charset="utf-8"/>
    <link rel="stylesheet" href="../css/aui.css">
    <style>
        body {
            background: #fff;
        }

        #qrcode {
            text-align: center;
            margin-top: 20px;
        }

        #qrcode img {
            margin: 0 auto;
        }

        .tips {
            font-weight: bold;
            color: red;
            width: 100%;
            text-align: center;
            margin-top: 30px;
        }

        .logo {
            text-align: center;
        }

        .tips2 {
            text-align: center;
            color: #282c5b;
            margin-top: 25px;
        }

        .tips2 p {
            line-height: 12px;
        }
    </style>
</head>
<body>
<!--<div class="logo">-->
<!--<img src="../image/logo.jpg" alt="">-->
<!--</div>-->
    <div class="font-weight-700 aui-text-center aui-text-danger aui-padded-t-15">因为爱，所以奖励</div>
    <div id="qrcode">
    </div>
    <div class="tips">
        长按识别二维码
    </div>
    <div class="tips2">
        <p class="aui-margin-b-10">爱奖励-中国最新三方盈利平台</p>
        <p>截图发送好友注册，启动爱的财富</p>
    </div>
<script src="../script/api.js"></script>
<script src="../script/common.js"></script>
<script src="../script/qrcode.js"></script>
<script src="../script/jquery.min.js"></script>
<script>
    //获取url中的参数
    apiready = function () {
        getStorageAll();
        getUserInfo();
        var qrcode = new QRCode(document.getElementById("qrcode"), {
            width: 200,//设置宽高
            height: 200
        });
        var host = window.location.host;
        var url = "http://www.aijiangli.com/mobile/register.php?tj=" + user_name;
//         var url="http://www.gzjinlanren.com/mobile/register.php?tj=18718341993";
//        alert(url)
        qrcode.makeCode(url);
    }
    $(function () {

    })


</script>
</body>
</html>

<script>

    // alert(getUrlParam("dd"))
</script>